package com.sz.stock.mapper;

import com.sz.stock.model.POS;
import com.sz.stock.model.POSExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface POSMapper {
    int countByExample(POSExample example);

    int deleteByExample(POSExample example);

    int deleteByPrimaryKey(Integer stockPosId);

    int insert(POS record);

    int insertSelective(POS record);

    List<POS> selectByExample(POSExample example);

    POS selectByPrimaryKey(Integer stockPosId);

    int updateByExampleSelective(@Param("record") POS record, @Param("example") POSExample example);

    int updateByExample(@Param("record") POS record, @Param("example") POSExample example);

    int updateByPrimaryKeySelective(POS record);

    int updateByPrimaryKey(POS record);
}